package casia.isiteam.springbootshiro.service;

import casia.isiteam.springbootshiro.model.po.test2.UserInfo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * Author wzy
 * Date 2017/7/27 21:01
 */
@Service
public interface UserInfoService {
    /**通过username查找用户信息;*/
    public UserInfo findByUsername(String username);
    /**通过username查找角色;*/
    public Set<String> findRoleByUsername(String username);
}
